<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<ul>
	<c:forEach items="${collection}" var="collection">
		<li>
			<a href="${baseUrl}/collection/info/${collection.id}">
				<img class="cover" width="140" height="224" src="${baseUrl}/collection/cover/${collection.media.id}" />
			</a>
			<p class="movieTitle">
				<a href="${baseUrl}/collection/info/${collection.id}">${collection.media.name}</a><br/>
				Released: <fmt:formatDate pattern="yyyy" value="${collection.media.releasedDate}" />
			</p>
		</li>
	</c:forEach>
</ul>

<div class="clear"></div>